package com.zhixing.common.constant;

import java.math.BigDecimal;

public class Constant {
    public static final String USER_INFO = "user-info";
    public static final String NICKNAME_PREFIX_PASSENGER = "zx_p";
    public static final String NICKNAME_PREFIX_DRIVER = "zx_d";
    public static final String INIT_AMOUNT_PASSENGER = "100.00";
    public static final String INIT_AMOUNT_DRIVER = "0.00";
    public static final String NEWCOMER_REWARD = "新人奖励";
    public static final String DAILY_REWARD = "日常奖励";
    public static final String DATETIME = "yyyy-MM-dd HH:mm:ss";
    public static final String RECHARGE_MAX = "10000.00";
    public static final String RECHARGE = "充值";
    public static final String WITHDRAWAL = "提现";
    public static final String DISPATCH_COUNT_ADD_ONE = "6";
    public static final String SHIFU = "师傅";
    public static final String ORDER_PAYMENT = "订单支出";
    public static final String ORDER_INCOME = "订单收入";
    public static final int DEFAULT_PAGE = 1;
    public static final int DEFAULT_PAGE_SIZE = 10;
    public static final int DEFAULT_RECEIVE_DISTANCE = 3;
    public static final int MAX_RECEIVE_DISTANCE = 5;
    public static final int DEFAULT_RECEIVE_NUMBER = 10;
    public static final int MAX_RECEIVE_NUMBER = 50;
    public static final int OVERTIME_MILLISECONDS = 900000;
    public static final int DISPATCH_COUNT = 5;
    public static final long WAIT_TIME_MILLISECONDS = 300;
    public static final long LEASE_TIME_MILLISECONDS = 5000;
    public static final BigDecimal[] NEWCOMER_REWARD_AMOUNT = {
        new BigDecimal("10"), new BigDecimal("20"), new BigDecimal("50")
    };
    public static final BigDecimal[] DAILY_REWARD_AMOUNT = {
        new BigDecimal("20"), new BigDecimal("60"), new BigDecimal("200")
    };
    public static final Integer[] NEWCOMER_REWARD_ORDER_NUMBER = { 1, 3, 10 };
    public static final Integer[] DAILY_REWARD_ORDER_NUMBER = { 40, 100, 300 };

    public static final String ZHIXING_USER_TOKEN = "zhixing:user:token:";
    public static final String ZHIXING_USER_INFO = "zhixing:user:info:";
    public static final String ZHIXING_WALLET_INFO = "zhixing:wallet:info:";
    public static final String ZHIXING_TRANSACTION_RECORD = "zhixing:transaction:record:";
    public static final String ZHIXING_COUPON_NEWCOMER = "zhixing:coupon:newcomer";
    public static final String ZHIXING_COUPON_HOMEPAGE = "zhixing:coupon:homepage";
    public static final String ZHIXING_COUPON_UNUSED = "zhixing:coupon:unused:";
    public static final String ZHIXING_COUPON_INVALID = "zhixing:coupon:invalid:";
    public static final String ZHIXING_REWARD_INFO = "zhixing:reward:info:";
    public static final String ZHIXING_SUBMIT_ORDER = "zhixing:submit:order:";
    public static final String ZHIXING_DRIVER_LOCATION = "zhixing:driver:location:";
    public static final String ZHIXING_ORDER_WEBSOCKET = "zhixing:order:websocket";
    public static final String ZHIXING_DRIVER_WEBSOCKET = "zhixing:driver:websocket";
    public static final String ZHIXING_REDISSON_ORDER = "zhixing:redisson:order:";
    public static final int ONE_MONTH = 30;
    public static final int WEEK = 7;
    public static final int ONE_DAY_SECOND = 86400;
    public static final int ONE_HOURS = 1;
    public static final int FIFTEEN_MINUTES = 15;

    public static final String ZHIXING_USER_REGISTER = "zhixing-user-register";
    public static final String ZHIXING_WALLET_INITIALIZE = "zhixing-wallet-initialize";
    public static final String ZHIXING_REWARD_NEWCOMER = "zhixing-reward-newcomer";
    public static final String ZHIXING_ORDER_SUBMIT = "zhixing-order-submit";
    public static final String ZHIXING_ORDER_DISPATCH = "zhixing-order-dispatch";
    public static final String ZHIXING_SEND_DRIVER = "zhixing-send-driver-";
    public static final String ZHIXING_DRIVER_RECEIVE = "zhixing-driver-receive-";
    public static final String ZHIXING_ORDER_DELETE_FAIL = "zhixing-order-delete-fail";
    public static final String ZHIXING_ORDER_DELAY_DELETE = "zhixing-order-delay-delete";
    public static final String ZHIXING_SEND_PASSENGER = "zhixing-send-passenger-";
    public static final String ZHIXING_PASSENGER_RECEIVE = "zhixing-passenger-receive-";
    public static final String ZHIXING_ORDER_COMPLETE = "zhixing-order-complete";
    public static final String ZHIXING_DRIVER_REMIT = "zhixing-driver-remit";
}
